var branch_1;
var branch_2;
var branch_3;
var branch_4;
var branch_5;
var branch_6;
var branch_7;
var branch_8;
var branch_9;

var branch_10;
var branch_11;
var branch_12;
var branch_13;

var parameters = "?tree_options=tree_industries.js&box=box_basket_v2.jsp";
var tree = new jktreeview("tree_div");


if (tree_highlighted_node == 250){
tree.addItem("简介", "", false, true, "indu.aspx" + parameters + "&tree_state=0&Htype=indu&tree_highlighted_node=250");
}
else{
tree.addItem("简介", "", false, false, "indu.aspx" + parameters + "&tree_state=0&Htype=indu&tree_highlighted_node=250");
}
if (tree_state == 9){
branch_9 = tree.addItem("SMC是工业应用领域专家", "", true, false);
}
else{
branch_9 = tree.addItem("SMC是工业应用领域专家", "", false, false);
}
	if (tree_highlighted_node == 2100){
	tree.addItem("全球对应能力", branch_9, false, true, "Corr.aspx" + parameters + "&tree_state=9&Htype=indu&tree_highlighted_node=2100");
	}
	else{
	tree.addItem("全球对应能力", branch_9, false, false, "Corr.aspx" + parameters + "&tree_state=9&Htype=indu&tree_highlighted_node=2100");
	}
	if (tree_highlighted_node == 2200){
	tree.addItem("SMC关注焦点", branch_9, false, true, "Att.aspx" + parameters + "&tree_state=9&Htype=indu&tree_highlighted_node=2200");
	}
	else{
	tree.addItem("SMC关注焦点", branch_9, false, false, "Att.aspx" + parameters + "&tree_state=9&Htype=indu&tree_highlighted_node=2200");
	}
	if (tree_highlighted_node == 2300){
	tree.addItem("SMC解决方案", branch_9, false, true, "Solve.aspx" + parameters + "&tree_state=9&Htype=indu&tree_highlighted_node=2300");
	}
	else{
	tree.addItem("SMC解决方案", branch_9, false, false, "Solve.aspx" + parameters + "&tree_state=9&Htype=indu&tree_highlighted_node=2300");
	}


if (tree_state == 1){
branch_1 = tree.addItem("汽车行业", "", true, false);
}
else{
branch_1 = tree.addItem("汽车行业", "", false, false);
}
	if (tree_highlighted_node == 2400){
	tree.addItem("项目介绍", branch_1, false, true, "indu_Projects.aspx" + parameters + "&tree_state=1&Htype=indu&tree_highlighted_node=2400&NID=788");
	}
	else{
	tree.addItem("项目介绍", branch_1, false, false, "indu_Projects.aspx" + parameters + "&tree_state=1&Htype=indu&tree_highlighted_node=2400&NID=788");
	}
	if (tree_highlighted_node == 2500){
	    tree.addItem("标准产品", branch_1, false, true, "sta.aspx" + parameters + "&tree_state=1&Htype=indu&tree_highlighted_node=2500&NID=789");
	}
	else{
	    tree.addItem("标准产品", branch_1, false, false, "sta.aspx" + parameters + "&tree_state=1&Htype=indu&tree_highlighted_node=2500&NID=789");
	}
	if(tree_highlighted_node == 2550)
	{
	tree.addItem("新型产品", branch_1, false, true, "indu_newp.aspx"+parameters+"&NID=790&Type=787&tree_state=1&Htype=indu&tree_highlighted_node=2550");
	}
	else
	{
	tree.addItem("新型产品", branch_1, false, false, "indu_newp.aspx"+parameters+"&NID=790&Type=787&tree_state=1&Htype=indu&tree_highlighted_node=2550");
}






	
	
if (tree_state == 2){
branch_2 = tree.addItem("电子行业", "", true, false);
}
else{
branch_2 = tree.addItem("电子行业", "", false, false);
}	
	if (tree_highlighted_node == 2600){
	    tree.addItem("项目介绍", branch_2, false, true, "indu_Projects.aspx" + parameters + "&tree_state=2&Htype=indu&tree_highlighted_node=2600&NID=792");
	}
	else{
	    tree.addItem("项目介绍", branch_2, false, false, "indu_Projects.aspx" + parameters + "&tree_state=2&Htype=indu&tree_highlighted_node=2600&NID=792");
	}
	if (tree_highlighted_node == 2700){
	    tree.addItem("标准产品", branch_2, false, true, "electronicpro.aspx" + parameters + "&tree_state=2&Htype=indu&tree_highlighted_node=2700&NID=793");
	}
	else{
	    tree.addItem("标准产品", branch_2, false, false, "electronicpro.aspx" + parameters + "&tree_state=2&Htype=indu&tree_highlighted_node=2700&NID=793");
	}
		if(tree_highlighted_node == 2551)
	{
	tree.addItem("新型产品", branch_2, false, true, "indu_newp.aspx"+parameters+"&NID=794&Type=791&tree_state=2&Htype=indu&tree_highlighted_node=2551");
	}
	else
	{
	tree.addItem("新型产品", branch_2, false, false, "indu_newp.aspx"+parameters+"&NID=794&Type=791&tree_state=2&Htype=indu&tree_highlighted_node=2551");
	}

if (tree_state == 3){
branch_3 = tree.addItem("光伏行业", "", true, false);
}
else{
branch_3 = tree.addItem("光伏行业", "", false, false);
}
	if (tree_highlighted_node == 2800){
	    tree.addItem("项目介绍", branch_3, false, true, "indu_Projects.aspx" + parameters + "&tree_state=3&Htype=indu&tree_highlighted_node=2800&NID=796");
	}
	else{
	    tree.addItem("项目介绍", branch_3, false, false, "indu_Projects.aspx" + parameters + "&tree_state=3&Htype=indu&tree_highlighted_node=2800&NID=796");
	}
	if (tree_highlighted_node == 2900){
	    tree.addItem("标准产品", branch_3, false, true, "Sta.aspx" + parameters + "&tree_state=3&Htype=indu&tree_highlighted_node=2900&NID=797");
	}
	else{
	    tree.addItem("标准产品", branch_3, false, false, "Sta.aspx" + parameters + "&tree_state=3&Htype=indu&tree_highlighted_node=2900&NID=797");
	}
	if(tree_highlighted_node == 2552)
	{
	tree.addItem("新型产品", branch_3, false, true, "indu_newp.aspx"+parameters+"&NID=798&Type=795&tree_state=3&Htype=indu&tree_highlighted_node=2552");
	}
	else
	{
	tree.addItem("新型产品", branch_3, false, false, "indu_newp.aspx"+parameters+"&NID=798&Type=795&tree_state=3&Htype=indu&tree_highlighted_node=2552");
	}
if (tree_state == 4){
branch_4 = tree.addItem("生命科学行业", "", true, false);
}
else{
branch_4 = tree.addItem("生命科学行业", "", false, false);
}	
	if (tree_highlighted_node == 3000){
	    tree.addItem("项目介绍", branch_4, false, true, "indu_Projects.aspx" + parameters + "&tree_state=4&Htype=indu&tree_highlighted_node=3000&NID=804");
	}
	else{
	    tree.addItem("项目介绍", branch_4, false, false, "indu_Projects.aspx" + parameters + "&tree_state=4&Htype=indu&tree_highlighted_node=3000&NID=804");
	}
	if (tree_highlighted_node == 3100){
	    tree.addItem("标准产品", branch_4, false, true, "indu_Projects.aspx" + parameters + "&tree_state=4&Htype=indu&tree_highlighted_node=3100&NID=805");
	}
	else{
	    tree.addItem("标准产品", branch_4, false, false, "Sta.aspx" + parameters + "&tree_state=4&Htype=indu&tree_highlighted_node=3100&NID=805");
	}
	if (tree_highlighted_node == 3200){
	    tree.addItem("新型产品", branch_4, false, true, "Sta.aspx" + parameters + "&tree_state=4&Type=799&Htype=indu&tree_highlighted_node=3200&NID=806");
	}
	else{
	    tree.addItem("新型产品", branch_4, false, false, "indu_newp.aspx" + parameters + "&tree_state=4&Type=799&Htype=indu&tree_highlighted_node=3200&NID=806");
	}
//	tree.addItem("客户定制解决方案", branch_4, false, false, "#");

if (tree_state == 5){
branch_5 = tree.addItem("食品行业", "", true, false);
}
else{
branch_5 = tree.addItem("食品行业", "", false, false);
}	
	if (tree_highlighted_node == 3300){
	    tree.addItem("项目介绍", branch_5, false, true, "indu_Projects.aspx" + parameters + "&tree_state=5&Htype=indu&tree_highlighted_node=3300&NID=807");
	}
	else{
	    tree.addItem("项目介绍", branch_5, false, false, "indu_Projects.aspx" + parameters + "&tree_state=5&Htype=indu&tree_highlighted_node=3300&NID=807");
	}
	if (tree_highlighted_node == 3400){
	    tree.addItem("标准产品", branch_5, false, true, "foodstandor.aspx" + parameters + "&tree_state=5&Htype=indu&tree_highlighted_node=3400&NID=808");
	}
	else{
	    tree.addItem("标准产品", branch_5, false, false, "foodstandor.aspx" + parameters + "&tree_state=5&Htype=indu&tree_highlighted_node=3400&NID=808");
	}
	if(tree_highlighted_node == 2553)
	{
	tree.addItem("新型产品", branch_5, false, true, "indu_newp.aspx"+parameters+"&NID=809&Type=800&tree_state=5&Htype=indu&tree_highlighted_node=2553");
	}
	else
	{
	tree.addItem("新型产品", branch_5, false, false, "indu_newp.aspx"+parameters+"&NID=809&Type=800&tree_state=5&Htype=indu&tree_highlighted_node=2553");
	}
if (tree_state == 6){
branch_6 = tree.addItem("饮料行业", "", true, false);
}
else{
branch_6 = tree.addItem("饮料行业", "", false, false);
}	
	if (tree_highlighted_node == 3500){
	    tree.addItem("项目介绍", branch_6, false, true, "indu_Projects.aspx" + parameters + "&tree_state=6&Htype=indu&tree_highlighted_node=3500&NID=810");
	}
	else{
	    tree.addItem("项目介绍", branch_6, false, false, "indu_Projects.aspx" + parameters + "&tree_state=6&Htype=indu&tree_highlighted_node=3500&NID=810");
	}
	if (tree_highlighted_node == 3600){
	    tree.addItem("标准产品", branch_6, false, true, "Sta.aspx" + parameters + "&tree_state=6&Htype=indu&tree_highlighted_node=3600&NID=811");
	}
	else{
	    tree.addItem("标准产品", branch_6, false, false, "Sta.aspx" + parameters + "&tree_state=6&Htype=indu&tree_highlighted_node=3600&NID=811");
	}
		if(tree_highlighted_node == 2555)
	{
	tree.addItem("新型产品", branch_6, false, true, "indu_newp.aspx"+parameters+"&NID=812&Type=801&tree_state=6&Htype=indu&tree_highlighted_node=2555");
	}
	else
	{
	tree.addItem("新型产品", branch_6, false, false, "indu_newp.aspx"+parameters+"&NID=812&Type=801&tree_state=6&Htype=indu&tree_highlighted_node=2555");
	}

if (tree_state == 7){
branch_7 = tree.addItem("糕点行业", "", true, false);
}
else{
branch_7 = tree.addItem("糕点行业", "", false, false);
}	
	if (tree_highlighted_node == 3700){
	    tree.addItem("项目介绍", branch_7, false, true, "indu_Projects.aspx" + parameters + "&tree_state=7&Htype=indu&tree_highlighted_node=3700&NID=813");
	}
	else{
	    tree.addItem("项目介绍", branch_7, false, false, "indu_Projects.aspx" + parameters + "&tree_state=7&Htype=indu&tree_highlighted_node=3700&NID=813");
	}
	if (tree_highlighted_node == 3800){
	    tree.addItem("标准产品", branch_7, false, true, "Sta.aspx" + parameters + "&tree_state=7&Htype=indu&tree_highlighted_node=3800&NID=814");
	}
	else{
	    tree.addItem("标准产品", branch_7, false, false, "Sta.aspx" + parameters + "&tree_state=7&Htype=indu&tree_highlighted_node=3800&NID=814");
	}
		if(tree_highlighted_node == 2556)
	{
	tree.addItem("新型产品", branch_7, false, true, "indu_newp.aspx"+parameters+"&NID=815&Type=802&tree_state=7&Htype=indu&tree_highlighted_node=2556");
	}
	else
	{
	tree.addItem("新型产品", branch_7, false, false, "indu_newp.aspx"+parameters+"&NID=815&Type=802&tree_state=7&Htype=indu&tree_highlighted_node=2556");
	}
if (tree_state == 8){
branch_8 = tree.addItem("印刷行业", "", true, false);
}
else{
branch_8 = tree.addItem("印刷行业", "", false, false);
}	
	if (tree_highlighted_node == 3900){
	    tree.addItem("项目介绍", branch_8, false, true, "indu_Projects.aspx" + parameters + "&tree_state=8&Htype=indu&tree_highlighted_node=3900&NID=816");
	}
	else{
	    tree.addItem("项目介绍", branch_8, false, false, "indu_Projects.aspx" + parameters + "&tree_state=8&Htype=indu&tree_highlighted_node=3900&NID=816");
	}
	if (tree_highlighted_node == 4000){
	    tree.addItem("标准产品", branch_8, false, true, "Sta.aspx" + parameters + "&tree_state=8&Htype=indu&tree_highlighted_node=4000&NID=817");
	}
	else{
	    tree.addItem("标准产品", branch_8, false, false, "Sta.aspx" + parameters + "&tree_state=8&Htype=indu&tree_highlighted_node=4000&NID=817");
	}

	if(tree_highlighted_node == 2559)
	{
	tree.addItem("新型产品", branch_8, false, true, "indu_newp.aspx"+parameters+"&NID=818&Type=803&tree_state=8&Htype=indu&tree_highlighted_node=2559");
	}
	else
	{
	tree.addItem("新型产品", branch_8, false, false, "indu_newp.aspx"+parameters+"&NID=818&Type=803&tree_state=8&Htype=indu&tree_highlighted_node=2559");
}



if (tree_state == 10) {
    branch_10 = tree.addItem("阀门行业", "", true, false);
}
else {
    branch_10 = tree.addItem("阀门行业", "", false, false);
}
if (tree_highlighted_node == 24000) {
    tree.addItem("项目介绍", branch_10, false, true, "indu_Projects.aspx" + parameters + "&tree_state=10&Htype=indu&tree_highlighted_node=24000&NID=1098");
}
else {
    tree.addItem("项目介绍", branch_10, false, false, "indu_Projects.aspx" + parameters + "&tree_state=10&Htype=indu&tree_highlighted_node=24000&NID=1098");
}
if (tree_highlighted_node == 25000) {
    tree.addItem("标准产品", branch_10, false, true, "sta.aspx" + parameters + "&tree_state=10&Htype=indu&tree_highlighted_node=25000&NID=1099");
}
else {
    tree.addItem("标准产品", branch_10, false, false, "sta.aspx" + parameters + "&tree_state=10&Htype=indu&tree_highlighted_node=25000&NID=1099");
}
if (tree_highlighted_node == 25500) {
    tree.addItem("新型产品", branch_10, false, true, "indu_newp.aspx" + parameters + "&NID=1100&Type=1097&tree_state=10&Htype=indu&tree_highlighted_node=25500");
}
else {
    tree.addItem("新型产品", branch_10, false, false, "indu_newp.aspx" + parameters + "&NID=1100&Type=1097&tree_state=10&Htype=indu&tree_highlighted_node=25500");
}



if (tree_state == 11) {
    branch_11 = tree.addItem("FPD行业", "", true, false);
}
else {
    branch_11 = tree.addItem("FPD行业", "", false, false);
}
if (tree_highlighted_node == 24001) {
    tree.addItem("项目介绍", branch_11, false, true, "indu_Projects.aspx" + parameters + "&tree_state=11&Htype=indu&tree_highlighted_node=24001&NID=1103");
}
else {
    tree.addItem("项目介绍", branch_11, false, false, "indu_Projects.aspx" + parameters + "&tree_state=11&Htype=indu&tree_highlighted_node=24001&NID=1103");
}
if (tree_highlighted_node == 25001) {
    tree.addItem("标准产品", branch_11, false, true, "sta.aspx" + parameters + "&tree_state=11&Htype=indu&tree_highlighted_node=25001&NID=1104");
}
else {
    tree.addItem("标准产品", branch_11, false, false, "sta.aspx" + parameters + "&tree_state=11&Htype=indu&tree_highlighted_node=25001&NID=1104");
}
if (tree_highlighted_node == 25501) {
    tree.addItem("新型产品", branch_11, false, true, "indu_newp.aspx" + parameters + "&NID=1105&Type=1102&tree_state=11&Htype=indu&tree_highlighted_node=25501");
}
else {
    tree.addItem("新型产品", branch_11, false, false, "indu_newp.aspx" + parameters + "&NID=1105&Type=1102&tree_state=11&Htype=indu&tree_highlighted_node=25501");
}




if (tree_state == 12) {
    branch_12 = tree.addItem("LED行业", "", true, false);
}
else {
    branch_12 = tree.addItem("LED行业", "", false, false);
}
if (tree_highlighted_node == 24002) {
    tree.addItem("项目介绍", branch_12, false, true, "indu_Projects.aspx" + parameters + "&tree_state=12&Htype=indu&tree_highlighted_node=24002&NID=1107");
}
else {
    tree.addItem("项目介绍", branch_12, false, false, "indu_Projects.aspx" + parameters + "&tree_state=12&Htype=indu&tree_highlighted_node=24002&NID=1107");
}
if (tree_highlighted_node == 25002) {
    tree.addItem("标准产品", branch_12, false, true, "sta.aspx" + parameters + "&tree_state=12&Htype=indu&tree_highlighted_node=25002&NID=1108");
}
else {
    tree.addItem("标准产品", branch_12, false, false, "sta.aspx" + parameters + "&tree_state=12&Htype=indu&tree_highlighted_node=25002&NID=1108");
}
if (tree_highlighted_node == 25502) {
    tree.addItem("新型产品", branch_12, false, true, "indu_newp.aspx" + parameters + "&NID=1109&Type=1106&tree_state=12&Htype=indu&tree_highlighted_node=25502");
}
else {
    tree.addItem("新型产品", branch_12, false, false, "indu_newp.aspx" + parameters + "&NID=1109&Type=1106&tree_state=12&Htype=indu&tree_highlighted_node=25502");
}



if (tree_state == 13) {
    branch_13 = tree.addItem("二次电池", "", true, false);
}
else {
    branch_13 = tree.addItem("二次电池", "", false, false);
}
if (tree_highlighted_node == 24003) {
    tree.addItem("项目介绍", branch_13, false, true, "indu_Projects.aspx" + parameters + "&tree_state=13&Htype=indu&tree_highlighted_node=24003&NID=1111");
}
else {
    tree.addItem("项目介绍", branch_13, false, false, "indu_Projects.aspx" + parameters + "&tree_state=13&Htype=indu&tree_highlighted_node=24003&NID=1111");
}
if (tree_highlighted_node == 25003) {
    tree.addItem("标准产品", branch_13, false, true, "sta.aspx" + parameters + "&tree_state=13&Htype=indu&tree_highlighted_node=25003&NID=1112");
}
else {
    tree.addItem("标准产品", branch_13, false, false, "sta.aspx" + parameters + "&tree_state=13&Htype=indu&tree_highlighted_node=25003&NID=1112");
}
if (tree_highlighted_node == 25503) {
    tree.addItem("新型产品", branch_13, false, true, "indu_newp.aspx" + parameters + "&NID=1113&Type=1110&tree_state=13&Htype=indu&tree_highlighted_node=25503");
}
else {
    tree.addItem("新型产品", branch_13, false, false, "indu_newp.aspx" + parameters + "&NID=1113&Type=1110&tree_state=13&Htype=indu&tree_highlighted_node=25503");
}



	
	
	
	
	
	

tree.treetop.draw();